package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysRiskAssessment;
import com.xidian.zhiancloud.model.SysRiskAssessmentExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SysRiskAssessmentMapper extends BaseMapper<SysRiskAssessment>{

    long countByExample(SysRiskAssessmentExample example);

    int deleteByExample(SysRiskAssessmentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysRiskAssessment record);

    int insertSelective(SysRiskAssessment record);

    List<SysRiskAssessment> selectByExampleWithRowbounds(SysRiskAssessmentExample example, RowBounds rowBounds);

    List<SysRiskAssessment> selectByExample(SysRiskAssessmentExample example);

    SysRiskAssessment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysRiskAssessment record, @Param("example") SysRiskAssessmentExample example);

    int updateByExample(@Param("record") SysRiskAssessment record, @Param("example") SysRiskAssessmentExample example);

    int updateByPrimaryKeySelective(SysRiskAssessment record);

    int updateByPrimaryKey(SysRiskAssessment record);
}